package com.danskin.wechat.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.danskin.wechat.entity.CategoryProduct;
import com.danskin.wechat.util.Page;

public interface CategoryProductDao {

	List<CategoryProduct> listPageFindCategoryProductList(Page page);

	void insertCategoryProduct(CategoryProduct categoryProduct);

	void updateCategoryProduct(CategoryProduct categoryProduct);

	CategoryProduct findCategoryProductById(@Param("id")String id);

	void deleteCategoryProduct(@Param("id")String id);

	List<CategoryProduct> findCategoryProduct(@Param("mpId")int mpId);

}
